
# PROCESSOR_H = ../../../processors/386-GCC.h
# SOFTFLOAT_MACROS = ../softfloat-macros

# OBJ = .o
# EXE = .exe
# INCLUDES = -I. -I..
# # COMPILE_C = gcc -c -o $@ $(INCLUDES) -I- -O2
# COMPILE_C = gcc -o libdpi.so $(INCLUDES) -O0 -g -shared -fPIC
# LINK = gcc -o $@


# ALL: softfloat$(OBJ)

# milieu.h: $(PROCESSOR_H)
# 	touch milieu.h

# softfloat$(OBJ): milieu.h softfloat.h softfloat-specialize $(SOFTFLOAT_MACROS) ../softfloat.c sv_ifc.c
# 	$(COMPILE_C) ../softfloat.c sv_ifc.c

# # timesoftfloat$(OBJ): milieu.h softfloat.h ../timesoftfloat.c
# # 	$(COMPILE_C) ../timesoftfloat.c

# # timesoftfloat$(EXE): softfloat$(OBJ) timesoftfloat$(OBJ)
# # 	$(LINK) softfloat$(OBJ) timesoftfloat$(OBJ)

# clean:
# 	rm *$(OBJ) *$(EXE) -rf


all:
	gcc -o libdpi.so -I. -I.. -O0 -g -shared -fPIC softfloat.c sv_ifc.c
